
import { request } from "@/http/axios"
import * as BT from "./types/index"

// 根据id查询基础数据参数
export function listDatatype(params: {}) {
  return request<BT.BTTableResData>({
    url: `/casia/model/datatype/list`,
    method: 'post',
    data: params
  })
}
// 根据id查询数据结构参数
export function getCatalogType() {
  return request<BT.BTTableResData>({
    url: `/casia/model/catalog/selectDataStruct`,
    method: 'get',
  })
}
